package com.sundi.ecusers.service.impl;

import com.sundi.ecusers.entity.EcAddress;
import com.sundi.ecusers.mapper.EcAddressMapper;
import com.sundi.ecusers.service.IEcAddressService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收货地址表 服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-26
 */
@Service
public class EcAddressServiceImpl extends ServiceImpl<EcAddressMapper, EcAddress> implements IEcAddressService {

    @Override
    public List<EcAddress> getAddressList(Integer user_id, String name) {
        return this.baseMapper.getAddressList(user_id,name);
    }
}
